{extend name="layout"}
{block name="content"}

    <!-- wrapper-content -->
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-lg-3">
                <div class="ibox ">
                    <div class="ibox-title">
                        <span class="label label-success float-right">本月</span>
                        <h5>收入</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">40 886,200</h1>
                        <div class="stat-percent font-bold text-success">98% <i class="fa fa-bolt"></i></div>
                        <small>总收入</small>
                    </div>
                </div>
            </div>
            <div class="col-lg-3">
                <div class="ibox ">
                    <div class="ibox-title">
                        <span class="label label-info float-right">全年</span>
                        <h5>订单</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">275,800</h1>
                        <div class="stat-percent font-bold text-info">20% <i class="fa fa-level-up"></i></div>
                        <small>新订单</small>
                    </div>
                </div>

            </div>
            <div class="col-lg-3">
                <div class="ibox ">
                    <div class="ibox-title">
                        <span class="label label-primary float-right">今天</span>
                        <h5>访客</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">106,120</h1>
                        <div class="stat-percent font-bold text-navy">44% <i class="fa fa-level-up"></i></div>
                        <small>新访客</small>
                    </div>
                </div>
            </div>
            <div class="col-lg-3">
                <div class="ibox ">
                    <div class="ibox-title">
                        <span class="label label-danger float-right">最近一个月</span>
                        <h5>活跃用户</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">80,600</h1>
                        <div class="stat-percent font-bold text-danger">38% <i class="fa fa-level-down"></i>
                        </div>
                        <small>12月</small>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-6">
                <div class="ibox ">
                    <div class="ibox-title">
                        <h5>系统信息</h5>
                        <div class="ibox-tools">
                            <span class="label label-primary"><i class="fa fa-h-square fa-spin"></i></span>
                        </div>
                        
                    </div>
                    <div class="ibox-content">

                        <table class="table">
                            <tbody>
                                <tr>
                                    <td>服务器操作系统:</td>
                                    <td>{$system_info.server_os}</td>
                                </tr>
                                <tr>
                                    <td>服务器IP</td>
                                    <td>{$system_info.server_ip}</td>
                                </tr>
                                <tr>
                                    <td>环境信息</td>
                                    <td>{$system_info.server_web}</td>
                                </tr>
                                <tr>
                                    <td>ThinkPHP版本</td>
                                    <td>{$system_info.think_version}</td>
                                </tr>
                                <tr>
                                    <td>PHP版本</td>
                                    <td>{$system_info.php_version}</td>
                                </tr>
                                <tr>
                                    <td>MYSQL版本</td>
                                    <td>{$system_info.db_version}</td>
                                </tr>
                                <tr>
                                    <td>上传限制</td>
                                    <td>{$system_info.upload_max_filesize}</td>
                                </tr>
                                <tr>
                                    <td>运行内存限制</td>
                                    <td>{$system_info.memory_limit}</td>
                                </tr>
                                <tr>
                                    <td>PHP当前时区</td>
                                    <td>{$system_info.timezone}</td>
                                </tr>
                                <tr>
                                    <td>PHP当前时间</td>
                                    <td>{$system_info.date_time}</td>
                                </tr>
                                <tr>
                                    <td>PHP当前运行模式</td>
                                    <td>{$system_info.php_sapi_name}</td>
                                </tr>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="ibox ">
                    <div class="ibox-title">
                        <h5>产品信息</h5>
                        <div class="ibox-tools">
                            <span class="label label-primary"><i class="fa fa-plus-square fa-spin"></i></span>
                        </div>
                    </div>
                    <div class="ibox-content">

                        <table class="table">
                            <tbody>
                                <tr>
                                    <td>产品名称</td>
                                    <td><span class="label label-primary">{$product_info.product_name}</span></td>
                                </tr>
                                <tr>
                                    <td>当前版本</td>
                                    <td>{$product_info.product_version}</td>
                                </tr>
                                <tr>
                                    <td>产品设计及研发团队</td>
                                    <td>{$product_info.develop_team}</td>
                                </tr>
                                <tr>
                                    <td>官方网址</td>
                                    <td>
                                        <a href="{$product_info.product_website}">{$product_info.product_website}</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>开发手册</td>
                                    <td>
                                        <a href="{$product_info.product_doc}">{$product_info.product_doc}</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                    </div>
                </div>

                <div class="ibox ">
                    <div class="ibox-title">
                        <h5>作者信息</h5>
                        <div class="ibox-tools">
                            <span class="label label-primary"><i class="fa fa-plus-square fa-spin"></i></span>
                        </div>
                    </div>
                    <div class="ibox-content">
                
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td>Author</td>
                                    <td>{$product_info.author_name}</td>
                                </tr>
                                <tr>
                                    <td>E-amil</td>
                                    <td>{$product_info.author_eamil}</td>
                                </tr>
                                <tr>
                                    <td>GitHub</td>
                                    <td>
                                        <a href="{$product_info.github}">{$product_info.github}</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Gitee</td>
                                    <td>
                                        <a href="{$product_info.gitee}">{$product_info.gitee}</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                
                    </div>
                </div>
            </div>
        </div>

    </div>

{/block}

{block name="script"}
<script type="text/javascript">
    $(document).ready(function () {

        setTimeout(function () {
            toastr.options = {
                closeButton: true,
                progressBar: true,
                showMethod: 'slideDown',
                timeOut: 4000
            };
            toastr.success('MEAdmin 管理者', '欢迎您 {$user_info.nickname}');

        }, 1300);

    });
</script>
{/block}
